module dogre.hardwarebuffer;

import dogre.internals.utils;

class HardwareBuffer
{
    enum
    {
        HBU_STATIC = 1,
        HBU_DYNAMIC = 2,
        HBU_WRITE_ONLY = 4,
        HBU_DISCARDABLE = 8,
        HBU_STATIC_WRITE_ONLY = 5,
        HBU_DYNAMIC_WRITE_ONLY = 6,
        HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE = 14
    }
    alias int Usage;
    
    enum
    {
        HBL_NORMAL,
        HBL_DISCARD,
        HBL_READ_ONLY,
        HBL_NO_OVERWRITE
    }
    alias int LockOptions;
    
    mixin(Wrapper);
}